/**
 * 说明：
 * 创建人：pluto
 * 创建时间：2018/8/9
 */

var ProductService = function (request) {
    this.list = function(){
        return request.get("v0/common/product-type/list");
    };
    this.listForPage = function(param){
        return request.post("v0/common/product-type/list", param);
    };
    this.save = function (param) {
        return request.post("v0/common/product-type", param);
    };
    this.update = function (param) {
        return request.put("v0/common/product-type", param);
    }
};
angular.module('app.system.product.service',[])
    .service("ProductService", ProductService);
